home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmCreateFileSelectionDialog.z
/
XmCreateFileSelectionDialog
Wrap
Text File
|
1998-10-30
|
5KB
|
133 lines
XXXXmmmmCCCCrrrreeeeaaaatttteeeeFFFFiiiilllleeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaallllooooggggUUUU((((NNNN3333IIIIXXXXXXXX))))SSSSyyyyssssttttXXXXeeeemmmmmmmmCCCCrrrrVVVVeeeeaaaatttteeeeFFFFiiiilllleeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmCCCCrrrreeeeaaaatttteeeeFFFFiiiilllleeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg - The FileSelectionBox
FileSelectionDialog convenience creation function
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/FileSB.h>
WWWWiiiiddddggggeeeetttt XXXXmmmmCCCCrrrreeeeaaaatttteeeeFFFFiiiilllleeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg(
WWWWiiiiddddggggeeeetttt ppppaaaarrrreeeennnntttt,
SSSSttttrrrriiiinnnngggg nnnnaaaammmmeeee,
AAAArrrrggggLLLLiiiisssstttt aaaarrrrgggglllliiiisssstttt,
CCCCaaaarrrrddddiiiinnnnaaaallll aaaarrrrggggccccoooouuuunnnntttt);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmCCCCrrrreeeeaaaatttteeeeFFFFiiiilllleeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg is a convenience creation
function that creates a DialogShell and an unmanaged
FileSelectionBox child of the DialogShell. A
FileSelectionDialog selects a file. It includes the
following:
+o An editable text field for the directory mask
+o A scrolling list of filenames
+o An editable text field for the selected file
+o Labels for the list and text fields
+o Four buttons
The default button labels are _O_K, FFFFiiiilllltttteeeerrrr, CCCCaaaannnncccceeeellll, and HHHHeeeellllpppp.
One additional WWWWoooorrrrkkkkAAAArrrreeeeaaaa child may be added to the
FileSelectionBox after creation.
Use XXXXttttMMMMaaaannnnaaaaggggeeeeCCCChhhhiiiilllldddd to pop up the FileSelectionDialog (passing
the FileSelectionBox as the widget parameter); use
XXXXttttUUUUnnnnmmmmaaaannnnaaaaggggeeeeCCCChhhhiiiilllldddd to pop it down.
XXXXmmmmCCCCrrrreeeeaaaatttteeeeFFFFiiiilllleeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg forces the value of the Shell
resource XXXXmmmmNNNNaaaalllllllloooowwwwSSSShhhheeeellllllllRRRReeeessssiiiizzzzeeee to True.
_p_a_r_e_n_t Specifies the parent widget ID
_n_a_m_e Specifies the name of the created widget
_a_r_g_l_i_s_t Specifies the argument list
_a_r_g_c_o_u_n_t Specifies the number of attribute/value pairs in
the argument list (_a_r_g_l_i_s_t)
Page 1 (printed 10/24/98)
XXXXmmmmCCCCrrrreeeeaaaatttteeeeFFFFiiiilllleeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaallllooooggggUUUU((((NNNN3333IIIIXXXXXXXX))))SSSSyyyyssssttttXXXXeeeemmmmmmmmCCCCrrrrVVVVeeeeaaaatttteeeeFFFFiiiilllleeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg((((3333XXXX))))
For a complete definition of FileSelectionBox and its
associated resources, see XXXXmmmmFFFFiiiilllleeeeSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx(3).
RRRREEEETTTTUUUURRRRNNNN
Returns the FileSelectionBox widget ID.
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmFFFFiiiilllleeeeSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx(3).
Page 2 (printed 10/24/98)